package com.api.demo.dto.sync;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.URL;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @description: 同步创客交付物DTO
 * @author: yanming
 * @createDate: 2022/10/04 10:29
 */
@Data
@ApiModel(description = "同步创客交付物DTO")
public class SyncDataAchievementDTO implements Serializable {


    private static final long serialVersionUID = -47214753650153273L;
    @ApiModelProperty(value = "身份证号码")
    @NotBlank(message = "身份证号码不能为空")
    private String idCardCode;

    @ApiModelProperty(value = "工作成果说明")
    private String achievementDesc;

    @ApiModelProperty(value = "工作成果图片")
    @NotBlank(message = "工作成果图片不能为空")
    @URL(message = "工作成果图片异常")
    private String achievementImg;

//    @ApiModelProperty(value = "工作成果附件,可以多个文件")
//    @URL(message = "工作成果附件异常")
//    private String achievementFiles;

    @ApiModelProperty(value = "提交工作成果日期")
    @NotBlank(message = "提交工作成果日期不能为空")
    private String achievementDate;

    @ApiModelProperty(value = "创建时间")
    @NotBlank(message = "创建时间不能为空")
    private String createDate;
}